﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System
{
	public static class Extensions
	{
		public static double GetOffsetWidth(this System.Windows.FrameworkElement element)
		{
			return element.Margin.Left + element.ActualWidth + element.Margin.Right;
		}
	}
}